<% #endcoding:utf-8%>
<ul class="avatars">
  <% cuser=User.find(params[:id])%>
  <% cuser.following.each do |f|%>
      <li class="avatar">
        <% if f.profile %>
            <p>
              <a href="/usercard/<%=f.id%>"><%=raw avatar f,"img-circle img-small"%></a>
            </p>
        <% end %>
      </li>
  <%end%>
</ul>